package cn.edu.scau.cmi.chenjia.client;

import javafx.application.Application;
import javafx.fxml.FXMLLoader;
import javafx.scene.Scene;
import javafx.scene.layout.AnchorPane;
import javafx.stage.Stage;
import javafx.scene.Parent;
import javafx.scene.control.ChoiceBox;
import javafx.scene.layout.BorderPane;
import java.net.URL;

import cn.edu.scau.cmi.chenjia.clientFxml.AdapterUIController;
import javafx.collections.FXCollections;


public class AdapterClient extends Application {

		@Override
	    public void start(Stage primaryStage) {
	        try {
	        	FXMLLoader loader = new FXMLLoader();
				loader.setLocation(AdapterUIController.class.getResource("AdapterUI.fxml"));
				AnchorPane homeview = (AnchorPane) loader.load();
				Scene scene = new Scene(homeview);
	            primaryStage.setScene(scene);
	            primaryStage.setResizable(false);//设置不能窗口改变大小
	            primaryStage.setTitle("学生信息");//设置标题
	            primaryStage.show();
	        } catch(Exception e) {
	            e.printStackTrace();
	        }
	    }
	    
		

	public static void main(String[] args) {
		launch(args);
	}
}
